from tvrage import read

def get(show, episode):
	data = read(show = show, ep = episode)
	try:
		return data['Episode Info'][1]
	except KeyError:
		return ""

if __name__ == '__main__':
	import sys
	if len(sys.argv) == 3:
		print(get(*sys.argv[1:3]))
	else:
		sys.stderr.write("usage: %s <show> <episode>\n" % sys.argv[0])
